/**
 * 
 */
package com.gxa.ehome.service;


import com.gxa.ehome.entity.User;
import com.gxa.ehome.entity.UserBase;

import java.util.List;

/**
 * User的业务层操作
 * @author bilei
 * @date 2021年3月31日
 */
public interface UserService {
	
	Integer register(User regiuser) throws Exception;
    User selectByPhone(String phone) throws Exception;
	User login(String name) throws Exception;

    List selectAllBypage(Integer page,Integer size) throws Exception;
//	List<User> selectAlluser() throws Exception;
//	List<User> selectAllByPage(Integer page, Integer size) throws Exception;
//	Integer deleteById(Integer id) throws Exception;
/**List<User> selectAll();*/
//	void update(Integer id, UserBase user) throws Exception;
}
